var foo:{id:number;}[] = [{id:1}, {id:2, name:"foo"}];